<template>
    <el-tabs style="height: 100%;display: flex;flex-direction: column;" v-model="activeName" class="demo-tabs">
        <el-tab-pane label="Account" name="first">
            <setting-account />
        </el-tab-pane>
        <el-tab-pane label="VPN protocol" name="second">
            <settingVPNProtocol />
        </el-tab-pane>
        <el-tab-pane label="About" name="third">
            <settingAbout />
        </el-tab-pane>
        <el-tab-pane style="height: 100%;" label="FeedBack" name="fourth">
            <SettingFeedback />
        </el-tab-pane>
    </el-tabs>
</template>

<script setup>
import { ref } from 'vue'

const activeName = ref('first')

</script>

<style lang="scss" scoped>
.demo-tabs {
    width: 100%;
    height: 100%;
    background-color: #292438;
    padding: 20px;
}

:deep(.el-tabs__item) {
    color: #fff;
}

:deep(.el-tabs__header) {
    width: 100%;

}

:deep(.el-tabs__nav) {
    width: 100%;
}

:deep(.el-tabs__nav-wrap)::after {
    height: 2px;
    background-color: #837a7a;
}

:deep(.el-tabs__content) {
    flex: 1;
}
</style>